﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AdminCP.aspx.cs" Inherits="T_test.Admin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>MobileReport - 后台管理</title>
    <link rel="Stylesheet" type="text/css" href="../css/bootstrap.min.css" />
    <script type="text/javascript" src="../js/jquery-1.11.3.min.js"></script>
    <script type="text/javascript" src="../js/jquery.form.js"></script>
    <script type="text/javascript" src="../js/xyr.js"></script>
    <script type="text/javascript" src="../js/bootstrap.min.js"></script>
    <script type="text/javascript">
        $(function () {
            $("#test").html(window.location.href);
            $("#btnAddUser").click(function () {
                location.href = "CpEditUser.aspx?type=add";
            });
        });
    </script>
    <style type="text/css">
        body{font-size:13px;}
        .whitestrong{font-weight:bold;background-color:#eeeeee;}
        .margintop20{margin-top:20px;}
    </style>
</head>
<body class="container">
<div id="test" style=""></div>
<%
    if (Request.QueryString["sfrost"] == null) {
        Response.Write("nothing");
        return;
    }
    Response.Write(msg);
%>
    <h1>客户借贷款 - 手机端查询授权</h1>
    <div>
        <button class="btn btn-primary" id="btnAddUser" name="btnAddUser">添加用户</button>
    </div>
    <div class="margintop20">
        <asp:Repeater ID="rptAuth" runat="server">
        <HeaderTemplate>
        <table id="tbAuth" class="table table-bordered table-hover">
        <tr class="whitestrong">
            <td width="10%">用户姓名</td>
            <td width="10%">OA账号</td>
            <td width="15%">品类</td>
            <td width="10%">查询范围</td>
            <td width="30">自定范围</td>
            <td width="15%">添加时间</td>
            <td width="10%">OA授权</td>
        </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td><a href="CpEditUser.aspx?type=edit&id=<%# Eval("fid")%>"><%# Eval("fname")%>[修改]</a></td>
                <td><%# Eval("FOAId")%></td>
                <td><%# Eval("FVariety")%></td>
                <td><%# Eval("funitid")%></td>
                <td><%# Eval("funitcustom") %></td>
                <td><%# Eval("FRegDate")%></td>
                <td><%# Eval("oaHave") %></td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
        </asp:Repeater>
    </div>
</body>
</html>
